
Ext.define('HIT.store.DealScan', {
    extend: 'Ext.data.Store',

    requires: [
        'HIT.model.DealScan'
    ],

    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            autoLoad: false,
            autoSync: false,
            storeId: 'scanList',
            model: 'HIT.model.DealScan',
            pageSize: page_size,
            proxy: {
                type: 'ajax',
                actionMethods :'POST',
                url: 'getDealScanList',
                reader: {
                    type: 'json',
                    root: 'data'
                }
            }
        }, cfg)]);
    }
});